package subtype;



import java.util.List;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.doudou.activity.dao.SubjectTypeMapper;
import com.doudou.activity.model.SubjectType;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath:spring.xml",
		"classpath:spring-mybatis.xml" })
public class test01 {
	@Autowired
	private SubjectTypeMapper subjectTypeMapper;
	
    @Test
    public void test01(){
    	List<SubjectType> list =subjectTypeMapper.getSubjectTypeByCatetype(0);
    	System.out.println("listSize:" + list.size());
    	
    }

}
